<div id="content"><div class="col4"><h2 class="title"><i class="icon-restaurantmenu"></i> Categorias</h2></div><div class="col4">	<a href="#form_categoria" class="button fancybox"><i class="icon-plus verde"></i>Nova Categoria</a></div><div class="col4 last">&nbsp</div>
<div class="col12">
	<table id="categoria" class="dataTable">
		<thead>
			<tr>
				<th><i class="icon-th-large"></i>Nome Categoria</th>
				<th><i class="icon-emailalt"></i>Icone Categoria</th>
				<th><i class="icon-groups-friends"></i>Responsável Categoria</th>
				<th><i class="icon-edit"></i>Editar</th>
				<th><i class="icon-trash"></i>Deletar</th>
			</tr>
		</thead>
	</table>
</div>
</div>

<div id="form_categoria" class="col12" style="display: none;">	
	<form id="criar_categoria" action="categorias/criar" method="post" data-validate="parsley">
		<header><h2><i class="icon-th-large"></i>Criar Nova Categoria</h2></header>
	  
	    <div>
	   		<label  for="nome">Nome</label>
	    	<div><i class="icon-th-large"></i><input id="nome" placeholder="Nome da Categoria" name="nome" class="placeholder" data-required="true" type="text"></div>
	    </div>
	    <div>
	   		<label  for="responsavel">Responsável</label>
	    	<div><i class="icon-groups-friends"></i>
	    		<select id="responsavel" name="responsavel">
	    			<option value="Bar">Bar</option>
	    			<option value="Cozinha">Cozinha</option>
	    		</select>
	    	</div>
	    </div>
		<div>
			<button id="submit" class="submit" type="submit"><i class='icon-save-floppy'></i>Salvar</button>
	    </div>
	</form>
</div>

<div id="form_categoria_editar" class="col12" style="display: none;">	
	<form id="editar_categoria" action="categorias/atualizar" method="post" data-validate="parsley">
		<header><h2><i class="icon-th-large"></i>Editar Categoria</h2></header>
	  
	    <div>
	   		<label  for="nome">Nome</label>
	    	<div><i class="icon-th-large"></i><input id="editar_nome_categoria" placeholder="Nome da Categoria" name="editar_nome_categoria" class="placeholder" data-required="true" type="text"></div>
	    </div>
	    <div>
	   		<label  for="editar_responsavel">Responsável</label>
	    	<div><i class="icon-groups-friends"></i>
	    		<select id="editar_responsavel" name="editar_responsavel">
	    			<option value="Bar">Bar</option>
	    			<option value="Cozinha">Cozinha</option>
	    		</select>
	    	</div>
	    </div>
		<div>
			<input type="hidden" id="editar_id_categoria" name="editar_id_categoria" />
			<button id="editar_submit" class="submit" type="editar_submit"><i class='icon-save-floppy'></i>Salvar</button>
	    </div>
	</form>
</div>

</div>
